﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace Passwords.ViewModels
{
    public static class Commands
    {
        public static readonly RoutedCommand CopyValue = new RoutedCommand("CopyValue", typeof(Commands));

        public static readonly RoutedCommand OpenPasswordGen = new RoutedCommand("OpenPasswordGen", typeof(Commands));
        public static readonly RoutedCommand ClosePasswordGen = new RoutedCommand("ClosePasswordGen", typeof(Commands));
        public static readonly RoutedCommand GeneratePassword = new RoutedCommand("GeneratePassword", typeof(Commands));
        public static readonly RoutedCommand CancelSearch = new RoutedCommand("CancelSearch", typeof(Commands));
        public static readonly RoutedCommand BeginSearch = new RoutedCommand("BeginSearch", typeof(Commands));

        public static readonly RoutedCommand AboutCommand = new RoutedCommand("AboutCommand", typeof(Commands));
        public static readonly RoutedCommand BackCommand = new RoutedCommand("BackCommand", typeof(Commands));
        public static readonly RoutedCommand ShowBackupsCommand = new RoutedCommand("ShowBackupsCommand", typeof(Commands));
        public static readonly RoutedCommand ShowSettingsCommand = new RoutedCommand("ShowSettingsCommand", typeof(Commands));
        public static readonly RoutedUICommand ShowLoginCommand = new RoutedUICommand("", "ShowLoginCommand", typeof(Commands));
        public static readonly RoutedUICommand ChangePasswordCommand = new RoutedUICommand("", "ChangePasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand ShowChangePasswordCommand = new RoutedUICommand("", "ShowChangePasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand LogoutCommand = new RoutedUICommand("logout", "LogoutCommand", typeof(Commands));
        public static readonly RoutedUICommand LoginCommand = new RoutedUICommand("login", "LoginCommand", typeof(Commands));
        public static readonly RoutedUICommand DeletePasswordCommand = new RoutedUICommand("delete", "DeletePasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand ToggleFaveCommand = new RoutedUICommand("add to favorites", "ToggleFaveCommand", typeof(Commands));
        public static readonly RoutedUICommand EditPasswordCommand = new RoutedUICommand("edit password", "EditPasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand NewPasswordCommand = new RoutedUICommand("new password", "NewPasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand SavePasswordCommand = new RoutedUICommand("save password", "SavePasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand UndoPasswordCommand = new RoutedUICommand("cancel password", "CancelPasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand CancelPasswordCommand = new RoutedUICommand("undo password", "UndoPasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand SaveCategoryCommand = new RoutedUICommand("save category", "SaveCategoryCommand", typeof(Commands));
        public static readonly RoutedUICommand UndoCategoryCommand = new RoutedUICommand("undo category", "UndoCategoryCommand", typeof(Commands));
        public static readonly RoutedUICommand UndoEditCategoryCommand = new RoutedUICommand("", "UndoEditCategoryCommand", typeof(Commands));

        public static readonly RoutedUICommand FieldUpCommand = new RoutedUICommand("up", "FieldUpCommand", typeof(Commands));
        public static readonly RoutedUICommand FieldDownCommand = new RoutedUICommand("down", "FieldDownCommand", typeof(Commands));
        public static readonly RoutedUICommand NewFieldCommand = new RoutedUICommand("", "NewFieldCommand", typeof(Commands));
        public static readonly RoutedUICommand DeleteFieldCommand = new RoutedUICommand("", "DeleteFieldCommand", typeof(Commands));
        public static readonly RoutedUICommand DeleteCategoryCommand = new RoutedUICommand("", "DeleteCategoryCommand", typeof(Commands));
        public static readonly RoutedUICommand NewCategoryCommand = new RoutedUICommand("", "NewCategoryCommand", typeof(Commands));
        public static readonly RoutedUICommand ViewPasswordCommand = new RoutedUICommand("", "ViewPasswordCommand", typeof(Commands));
        public static readonly RoutedUICommand PasswordsCommand = new RoutedUICommand("", "PasswordsCommand", typeof(Commands));
        public static readonly RoutedUICommand CategoriesCommand = new RoutedUICommand("", "CategoriesCommand", typeof(Commands));
        public static readonly RoutedUICommand RemoveFieldCommand = new RoutedUICommand("", "RemoveFieldCommand", typeof(Commands));
        public static readonly RoutedUICommand AddFieldCommand = new RoutedUICommand("", "AddFieldCommand", typeof(Commands));
        public static readonly RoutedUICommand DeleteCategoryItemCommand = new RoutedUICommand("", "DeleteCategoryItemCommand", typeof(Commands));

        public static readonly RoutedCommand SyncLoginCommand = new RoutedCommand("SyncLoginCommand", typeof(Commands));
        public static readonly RoutedCommand ClearSyncPasswordErrorCommand = new RoutedCommand("ClearSyncPasswordErrorCommand", typeof(Commands));
        public static readonly RoutedCommand RegisterFirewall = new RoutedCommand("RegisterFirewall", typeof(Commands));
        public static readonly RoutedCommand UnregisterFirewall = new RoutedCommand("UnregisterFirewall", typeof(Commands));
    }
}
